import React from 'react'
import './input.scss'

export default function Input({ value, type, placeholder, setValue }) {
	return (
		<input
			className='input'
			onChange={event => setValue(event.target.value)}
			value={value}
			type={type}
			placeholder={placeholder}
		/>
	)
}
